import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import localeZH from 'element-plus/lib/locale/lang/zh-cn'
import * as ElIconModules from '@element-plus/icons'


export default (app) => {
  app.use(ElementPlus, { locale:localeZH })
  //  统一注册el-icon图标
  for(let iconName in ElIconModules){
      app.component(iconName,ElIconModules[iconName])
  }
}
